package com.hy.lightning.boot.web.servlet.bean;

import com.hy.lightning.boot.core.ContentType;

public class RequestBody {
	private String type;
	
	private Object value;

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Object getValue() {
		return value;
	}

	public void setValue(Object value) {
		this.value = value;
	}
	
	public RequestBody() {
		this.type = ContentType.JSON;
		this.value = "";
	}
	
	public RequestBody(String type, Object value) {
		this.type = type;
		this.value = value;
	}
}
